<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
  <title>活动管理</title>
  <!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<link type="text/css" rel="stylesheet" href="/neu5_yuejian/Public/assets/css/bootstrap.min.css">
<script type="text/javascript" src="/neu5_yuejian/Public/assets/js/jquery-2.2.1.min.js"></script>
<script type="text/javascript" src="/neu5_yuejian/Public/assets/js/bootstrap.min.js"></script>
</head>
</html>

      <div class="templatemo-flex-row">
      <div class="templatemo-sidebar">
        <header class="templatemo-site-header">
          <div class="square"></div>
          <h1>约健体育平台</h1>
        </header>
        <div class="profile-photo-container">
          <img src="/neu5_yuejian/Public/Admin/assets/img/logo.jpg" alt="Profile Photo" class="img-responsive">  
          <div class="profile-photo-overlay"></div>
        </div>      
        <!-- Search box -->
        <form class="templatemo-search-form" role="search">
          <div class="input-group">
              <button type="submit" class="fa fa-search"></button>
              <input type="text" class="form-control" placeholder="Search" name="srch-term" id="srch-term">           
          </div>
        </form>
        <div class="mobile-menu-icon">
            <i class="fa fa-bars"></i>
          </div>
        <nav class="templatemo-left-nav">          
          <ul>
            <li><a href="<?php echo U('Master/index');?>"><i class="fa fa-database fa-fw"></i>大师管理</a></li>


            <li><a href="<?php echo U('Activity/activities');?>"><i class="fa fa-database fa-fw"></i>活动管理</a></li>
            <li><a href="<?php echo U('Game/games');?>"><i class="fa fa-home fa-fw"></i>比赛管理</a></li>

            <li><a href="<?php echo U('Course/courselist');?>"><i class="fa fa-database fa-fw"></i>课程管理</a></li>
            <li><a href="<?php echo U('Video/videolist');?>"><i class="fa fa-home fa-fw"></i>视频管理</a></li>

            <li><a href="<?php echo U('Club/clubs');?>"><i class="fa fa-bar-chart fa-fw"></i>俱乐部信息管理</a></li>
            

            <li><a href="<?php echo U('Admin/Login/login');?>"><i class="fa fa-home fa-fw"></i>登录</a></li>
            <li><a href="<?php echo U('Admin/Login/login');?>"><i class="fa fa-bar-chart fa-fw"></i>退出</a></li>

          </ul>  
        </nav>
      </div>









<!-- 
<span>欢迎：<?php echo ($username); ?></span> &nbsp;
[<a href="<?php echo U('Index/logout');?>">退出</a>]
</p>
<ul class="nav nav-pills nav-stacked">
  <li role="presentation"<?php if(CONTROLLER_NAME == 'archives') echo ' class="active"';?>><a href="<?php echo U('Archives/index');?>">文章管理</a></li>
  <li role="presentation"<?php if(CONTROLLER_NAME == 'Category') echo ' class="active"';?>><a href="<?php echo U('Category/index');?>">栏目管理</a></li>
  <li role="presentation"<?php if(CONTROLLER_NAME == 'Users') echo ' class="active"';?>><a href="<?php echo U('Users/index');?>">管理员</a></li>
</ul> -->
       <script type="text/javascript" src="/neu5_yuejian/Public/Admin/assets/js/bootstrap-filestyle.min.js"></script>
    <script type='text/javascript' src='/neu5_yuejian/Public/Admin/assets/js/jquery-1.11.2.min.js'></script>
       <script type="text/javascript" src="/neu5_yuejian/Public/Admin/assets/js/jquery-migrate-1.2.1.min.js"></script>
    <script type='text/javascript' src='/neu5_yuejian/Public/Admin/assets/js/templatemo-script.js'></script>


<link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
<!-- <link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/font-awesome.min.css" media="all" rel="stylesheet" type="text/css" /> -->
<link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/templatemo-style.css" media="all" rel="stylesheet" type="text/css" />


 <!--  <link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/1.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/2.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/style.css" media="all" rel="stylesheet" type="text/css" /> -->
</head>
<body>
    <div class="templatemo-content col-1 light-gray-bg">
        <div class="templatemo-top-nav-container">
            <div class="row">
                <nav class="templatemo-top-nav col-lg-12 col-md-12">
                    <ul class="text-uppercase">
                        <li><a href="/neu5_yuejian/index.php/ClubAdmin/Activity/activities" class="active">活动管理</a></li>
                        <li><a href="/neu5_yuejian/index.php/ClubAdmin/Activity/activities">修改活动信息  <i class="glyphicon glyphicon-remove"></i></a></li>
                    </ul>  
                </nav> 
            </div>
        </div>
    <div class="templatemo-content-container">
      <div class="templatemo-content-widget no-padding">
        <div class="panel panel-default table-responsive">
          <table class="table table-striped table-bordered templatemo-user-table">
            <div class="container-fluid">  
              <div class="row">    
                <div class="col-md-1">
                </div>
                <div class="col-md-10">
    <form  method="post"  class="form-horizontal" action="<?php echo U(doUpdate);?>"  enctype="multipart/form-data">
            <div class="form-group">
            <input  type="hidden"  name="a_id" value="<?php echo ($activityInfos["a_id"]); ?>">
            </div>
            <div class="form-group">
            <label for="a_title">活动名称</label>
            <input type="text" name="a_title" id="a_title" class="form-control" value="<?php echo ($activityInfos["a_title"]); ?>">
            </div>
            <div class="form-group">
            <label for="a_content">活动内容</label>
            <input type="text" name="a_content" id="a_content" class="form-control" value="<?php echo ($activityInfos["a_content"]); ?>">
            </div>
           <!--  <div class="form-group">
            <label for="a_date">活动时间</label>
            <input type="text" name="a_date" id="a_date" class="form-control" value="<?php echo ($activityInfos["a_date"]); ?>">
            </div> -->
            <div class="form-group">
            <label for="a_tel">咨询热线</label>
            <input type="text" name="a_tel" id="a_tel" class="form-control" value="<?php echo ($activityInfos["a_tel"]); ?>">
            </div>
            <div class="form-group">
            <label for="a_cost">活动收费</label>
            <input type="text" name="a_cost" id="a_cost" class="form-control" value="<?php echo ($activityInfos["a_cost"]); ?>">
            </div>
            <div class="form-group">
            <label for="a_address">活动地址</label>
            <input type="text" name="a_address" id="a_address" class="form-control" value="<?php echo ($activityInfos["a_address"]); ?>">
            </div>
            <div class="form-group">
            <label for="a_pic1">活动图片 1 </label>
            <img src="/neu5_yuejian/Public/upload/<?php echo ($activityInfos["a_pic1"]); ?>" class="img-circle" style="width: 110px; height: 110px;background-color:#5f5f5f">
            <input type="file" name="file1"  value="<?php echo ($activityInfos["a_pic1"]); ?>" class="btn  btn-primary" style="width: 95px; height: 40px;background-color:#ffffff">
            </div>
            <div class="form-group">
            <label for="a_pic2">活动图片 2 </label>
            <img src="/neu5_yuejian/Public/upload/<?php echo ($activityInfos["a_pic2"]); ?>" class="img-circle" style="width: 110px; height: 110px;background-color:#5f5f5f">
            <input type="file" name="file2"  value="<?php echo ($activityInfos["a_pic2"]); ?>" class="btn  btn-primary" style="width: 95px; height: 40px;background-color:#ffffff">
            </div>            
            <div align="center">        
            <button type="submit" name="submit" class="btn btn-primary">保存</button>
            <a class="btn btn-default" href="/neu5_yuejian/index.php/ClubAdmin/Activity/activities">返回</a>
            </div>
        </table>
    </form>
</body>
</html>